package com.gscitysfy.cus.drain.modules.warning.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gscitysfy.cloudfrmwk.assistant.domain.Result;
import com.gscitysfy.cus.drain.modules.inspection.entity.DrainInspectionMnJob;
import com.gscitysfy.cus.drain.modules.inspection.entity.DrainInspectionMnPlan;
import com.gscitysfy.cus.drain.modules.inspection.service.IDrainInspectionMnJobService;
import com.gscitysfy.cus.drain.modules.inspection.vo.DrainInspectionMnJobVo;
import com.gscitysfy.cus.drain.modules.warning.entity.DrainWaringSystem;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Administrator
 * @since 2022-10-20 19:15:57
 */
public interface IDrainWaringSystemService extends IService<DrainWaringSystem> {
    Result<Object> getByPage(Page<DrainWaringSystem> page, DrainWaringSystem drainWaringSystem);

    Result<Object> getListByQuery( DrainWaringSystem drainWaringSystem);
    Result<Boolean> del(DrainWaringSystem drainWaringSystem);



    /**
     *  新增或者修改预警机制
     * @param drainWaringSystem
     * @return
     */
    Result<Boolean> addOrUpdate(DrainWaringSystem drainWaringSystem);

}
